tools/firmware/ovmf: Use OvmfXen platform file if exist and update OVMF
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 19 Jul 2021 13:48:45 +0000 (14:48 +0100)
committerIan Jackson <iwj@xenproject.org>
Tue, 27 Jul 2021 13:26:57 +0000 (14:26 +0100)
commit81f29142023841f42bce8ae0c7b73077d7e47219
treec2825e9d467e5a07a3a5a9952389f25bd9e38c6b
parentce233b10319dfb77ab5e0102202190a5911ae8f3
tools/firmware/ovmf: Use OvmfXen platform file if exist and update OVMF

A platform introduced in EDK II named OvmfXen is now the one to use for
Xen instead of OvmfX64. It comes with PVH support.

Also, the Xen support in OvmfX64 is deprecated,
    "deprecation notice: *dynamic* multi-VMM (QEMU vs. Xen) support in OvmfPkg"
    https://edk2.groups.io/g/devel/message/75498
and has been removed upstream.

We need to also update to a newer version of OVMF as OvmfXen in the
release "edk2-stable202105" doesn't work well with Xen, so we need the
fix b37cfdd28071 ("OvmfPkg/XenPlatformPei: Relocate shared_info page
mapping").

Also, don't set anymore the number of thread for parallel build when
building the newer platform, OvmfPkg/build.sh is now doing parallel
build by default.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <iwj@xenproject.org>
Config.mk
tools/firmware/ovmf-makefile